import request from '@/utils/request'

/**
 * 查询日记列表
 */
export const queryDiaryList = (pageNo,pageSize) => {
	return request({
		url: 'diary/'+ pageNo + '/'+pageSize,
		method: 'get',
	})
}
/**
 * 查询日记
 */
export const queryDiary = (id) => {
	return request({
		url: 'diary/'+ id,
		method: 'get',
	})
}